package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.LtUser;
import com.tf8.treasure.entity.LtUserExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;

@Mapper
public interface LtUserMapper {
    int countByExample(LtUserExample example);

    int deleteByExample(LtUserExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LtUser record);

    int insertSelective(LtUser record);

    List<LtUser> selectByExample(LtUserExample example);

    LtUser selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LtUser record, @Param("example") LtUserExample example);

    int updateByExample(@Param("record") LtUser record, @Param("example") LtUserExample example);

    int updateByPrimaryKeySelective(LtUser record);

    int updateByPrimaryKey(LtUser record);

    List<LtUser> selectPageByExample(@Param("example") LtUserExample example, @Param("pageable") Pageable pageable);
}